Skip to content
This repository was archived by the owner on Jul 31, 2026. It is now read-only.

re-import support (from both actions and toolkit) - #6

Open
Danielmelody wants to merge 1 commit into
EpicGames:masterfrom
Danielmelody:feat-re-import
Open

re-import support (from both actions and toolkit)#6
Danielmelody wants to merge 1 commit into
EpicGames:masterfrom
Danielmelody:feat-re-import

Conversation

@Danielmelody

@Danielmelody Danielmelody commented Nov 24, 2020

Copy link
Copy Markdown
Member

To get it work on 4.20 and later, #4 should be merged too.

@Danielmelody

Copy link
Copy Markdown
Member Author

This is necessary when working with external text editors, to simplify workflow and reduce inconsistency

@samrrr

samrrr commented Mar 22, 2021

Copy link
Copy Markdown

When you use this asset commit, you should put
pTextAsset->Modify();
To TextAssetFactory.cpp 107 line:
if (FFileHelper::LoadFileToString(NewText, *ResolvedSourceFilePath))
{
pTextAsset->Text = NewText;
pTextAsset->Modify();
return EReimportResult::Succeeded;
}

@Danielmelody

Copy link
Copy Markdown
Member Author

@samrrr Thanks, added it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants